function Item(){
	this.itemId="";
	this.itemName="";
	this.amount= 0;
	this.type=0;
};

Item.prototype.setId = function(iid){
	this.itemId = iid;
};
Item.prototype.setName = function(iname){
	this.itemName = iname;
};
Item.prototype.setAmount = function(iamount){
	this.amount = iamount;
};
Item.prototype.setType = function(itype){
	this.type = itype;
};
Item.prototype.getItemJsonString = function(){
	var jsonString ="{";
	jsonString+="\"amount\":"+this.amount;
	jsonString+=",\"itemId\":"+this.itemId;
	jsonString+=",\"name\":\""+this.itemName+"\"";
	jsonString+="}";
	return jsonString;
};